import { store } from '@/store/index'
import { MessageConfig } from '@/winTypes'
const Message = async (config: MessageConfig) => {
  return store.dispatch('addMessage', config)
}
export default Message
